package com.msb.mall.getway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


// 网关注册的时候需要去注册中心发现相关服务suo所以需要完成放开注册中心发现的注解
@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class MallGetwayApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallGetwayApplication.class, args);
    }

}
